/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.bumblebee.sessions;

import com.bumblebee.entities.Room;
import java.sql.Date;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author numessi
 */
@Local
public interface RoomFacadeLocal {

    void create(Room room);

    void edit(Room room);

    void remove(Room room);

    Room find(Object id);

    List<Room> findAll();

    List<Room> findRange(int[] range);

    int count();

    public List<Room> getAvailableRooms(String location_id, Date arrival_date, Date departure_date);
    public List<Room> getAvailableRooms(Date arrival_date, Date departure_date);

}
